package com.ytb.menus;

import java.util.List;

import com.google.gson.annotations.Expose;

/**
 * The menu Object that contains: an <b>idKeyFrame</b>, a <b>timestamp</b>, the <b>source link of the related video</b> and the {@link List} of <b>{@link XmlCategory} (menus)</b>.
 * 
 */
public class XmlKeyFrame {
	@Expose private int idKeyFrame;
	@Expose private String timestamp;
	@Expose private String src;
	private String description;
//	private List<XmlCategory> menus;
	private List<XmlSubMenu> menus;
	
	public XmlKeyFrame(int idKeyFrame, String timestamp, String src, String description, List<XmlSubMenu> menus){
		this.idKeyFrame = idKeyFrame;
		this.timestamp = timestamp;
		this.src = src;
		this.description = description;
		this.menus = menus;
	}
	
	/**
	 * Get <b>src</b> of the current object.
	 * @return The <b>src</b> of the current object.
	 */
	public String getSrc() {
		return this.src;
	}
}
